import request from '@/Utils/request';

export const loginRequest = async (params: {}) => {
  return request.post('/login', {
    data: params,
  });
};

export const registerRequest = async (params: {}) => {
  return request.post('/register', {
    data: params,
  });
};
